:root {
  /* 主色 */
  --mainColor: #316AB4;
  /* 主色的浅色 */
  --mainColorLight: #316ab464;
  /* 主色的深色 */
  --mainColorDark: #316ab400;
  /* 主色的背景色 */
  --mainColorBackground: #ffffff;
  /* 主色的边框色 */
  --mainColorBorder: #32aadd48;
  /* 线条颜色 */
  --lineColor: #dfdfdf;
  /* 主色的文字颜色 */
  --mainColorText: #333333;
  /* 最大宽度 */
  --width: 1400px;
  --width-section: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: var(--width-section);
  margin: 0 auto;
  padding: 0;
}

@media screen and (max-width: 768px) {
  :root {
    --width: 100%;
    --width-section: 100%;
  }

  html {
    font-size: 14px;
    width: 100%;
    height: 100%;
    display: block;
  }

  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
    padding-top: 0;
  }


  .container {
    max-width: var(--width);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .wave_canvas {
    height: 50px !important;
    top: -50px !important;
  }

  .wave_canvas.flip-180 {
    top: initial !important;
    bottom: -50px !important;
  }

}

.wave_canvas {
  width: 100%;
  height: 150px;
  position: absolute;
  top: -150px;
  left: 0;
  z-index: 1;
}

.wave_canvas.flip-180 {
  top: initial;
  bottom: -150px;
}



@keyframes moveBackground {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 100% center;
  }
}

.flip-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.gradient-overlay {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom,
      rgba(49, 106, 180, 0) 0%,
      rgba(49, 106, 180, 0.5) 50%,
      var(--mainColor) 100%);
  z-index: 1;
  pointer-events: none;
}


.gradient-overlay.flip-180 {
  top: initial;
  bottom: -30px;
}